const initialState = {
  count: 1,
  list:[]
}
const reducer = (state = initialState, action) => {
  switch (action.type) {
    case  "INCREASE":
      return {
        count: state.count + action.count1,
        list: state.list
      }
    case "ADDLIST" :
      return {
        count: state.count,
        list: action.list
      }
    default:
      return initialState
  }
}
export default reducer;